package com.zenghus.v1;

import java.util.List;

public class Demo {
    public static void main(String[] args) {
        SqlSession sqlSession=new SqlSession(new Configuration(),new SimplExecutor());
        TestMapper testMapper=sqlSession.getMapper(TestMapper.class);
        List<Test> tlist=testMapper.selectList();
        for (int i = 0; i < tlist.size(); i++) {
            System.out.println(tlist.get(i));
        }
    }
}
